package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * @Author wx
 * @Date 2019/8/8 15:05
 * @Version 1.0
 */

@NoArgsConstructor
public enum GoodsStateEnum implements IBaseEnum<Integer> {
    //1、待审核 2、已上架 3、已下架 4、待删除
    TO_AUDITED(1,"待审核"),
    GROUNDING(2,"已上架"),
    UNDERCARRIAGE(3,"已下架"),
    TO_DELETED(4,"待删除")
    ;


    private int value;
    private String desp;

    GoodsStateEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
